Laravel / Views / Use images, css, js in view page
Use images, css and js in the view file
-
Steps
1. Images
Create new folder named images in public folder. Copy images need to use in project to images folder.
2. CSS
Create new folder named css in public folder. In this folder, create new css file named style.css
3. JS
Create new folder named js in public folder. In this folder, create new javascript file named app.js
4. Use the images, css and js in view
1. Normal html page
Laravel Demo Page
The function asset() is used for linking the image/css/js Laravel Demo Page